package com.cody.entity;


import java.util.Date;

/**
 * @author Cody
 * @date 2021/4/6 - 18:25
 */
public class Answer {
    private int answerId;
    private String answerText;
    private String answerResponderId;
    private String answerResponderName;
    private Date answerTime;
    private int answerQuestionId;
    private String answerPicName;
    private String answerPicPath;

    public Answer() {

    }

    public Answer(int answerId, String answerText, String answerResponderId, String answerResponderName, Date answerTime, int answerQuestionId, String answerPicName, String answerPicPath) {
        this.answerId = answerId;
        this.answerText = answerText;
        this.answerResponderId = answerResponderId;
        this.answerResponderName = answerResponderName;
        this.answerTime = answerTime;
        this.answerQuestionId = answerQuestionId;
        this.answerPicName = answerPicName;
        this.answerPicPath = answerPicPath;
    }

    public String getAnswerResponderName() {
        return answerResponderName;
    }

    public void setAnswerResponderName(String answerResponderName) {
        this.answerResponderName = answerResponderName;
    }

    public String getAnswerResponderId() {
        return answerResponderId;
    }

    public void setAnswerResponderId(String answerResponderId) {
        this.answerResponderId = answerResponderId;
    }

    public int getAnswerId() {
        return answerId;
    }

    public void setAnswerId(int answerId) {
        this.answerId = answerId;
    }

    public String getAnswerText() {
        return answerText;
    }

    public void setAnswerText(String answerText) {
        this.answerText = answerText;
    }





    public Date getAnswerTime() {
        return answerTime;
    }

    public void setAnswerTime(Date answerTime) {
        this.answerTime = answerTime;
    }

    public int getAnswerQuestionId() {
        return answerQuestionId;
    }

    public void setAnswerQuestionId(int answerQuestionId) {

        this.answerQuestionId = answerQuestionId;
    }

    public String getAnswerPicName() {
        return answerPicName;
    }

    public void setAnswerPicName(String answerPicName) {
        this.answerPicName = answerPicName;
    }

    public String getAnswerPicPath() {
        return answerPicPath;
    }

    public void setAnswerPicPath(String answerPicPath) {
        this.answerPicPath = answerPicPath;
    }

    @Override
    public String toString() {
        return "Answer{" +
                "answerId=" + answerId +
                ", answerText='" + answerText + '\'' +
                ", answerResponderId='" + answerResponderId + '\'' +
                ", answerResponderName='" + answerResponderName + '\'' +
                ", answerTime=" + answerTime +
                ", answerQuestionId=" + answerQuestionId +
                ", answerPicName='" + answerPicName + '\'' +
                ", answerPicPath='" + answerPicPath + '\'' +
                '}';
    }
}
